from typing import AnyStr
from requests import Session
from utils.common_sydr import reqMethod



# /courseapi/dailytask/front/learnTask
def learnTask(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "post", argsPosition)


# /courseapi/dailyTaskPlan/front/selectFirstNoStudySection
def selectFirstNoStudySection(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "post", argsPosition)


# /courseapi/dailyTaskPlan/front/confirmDefaultDailyPlan
def confirmDefaultDailyPlan(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "post", argsPosition)

# /courseapi/dailyTaskPlan/front/confirmDailyPlanNew
def confirmNewDailyPlan(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "post", argsPosition)



# /courseapi/dailyTaskPlan/front/previewDailyPlanNew
def previewDailyPlanNew(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "post", argsPosition)


# /courseapi/dailyTaskPlan/front/removeDailyPlan
def removeDailyPlan(uri:AnyStr,data,session:Session):
    argsPosition = {"body": "str"}
    return reqMethod(uri, data, session, "get", argsPosition)


# /courseapi/dailyTaskPlan/front/selectUserDailyPlan
def selectUserDailyPlan(uri:AnyStr,data,session:Session):
    argsPosition = {"uri": "dict"}
    return reqMethod(uri, data, session, "get", argsPosition)

# /courseapi/dailyTaskPlan/front/getChapterSectionInfo
def getChapterSectionInfo(uri:AnyStr,data,session:Session):
    argsPosition = {"uri": "dict"}
    return reqMethod(uri, data, session, "get", argsPosition)



# /courseapi/dailyTaskPlan/front/getModifyTime
def getModifyTime(uri:AnyStr,data,session:Session):
    argsPosition = {"uri": "dict"}
    return reqMethod(uri, data, session, "get", argsPosition)